<include file="Common:header" />
    <div class="breadcrumb"> <span class="dh">
      <volist name="data[breadcrumbs]" id="vo"> <a href="<{$vo.href}>"><{$vo.text}></a><{$vo.separator}> </volist>
      </span> <span class="button"><a href="#" onClick="$('#form').submit();">确认</a><a href="#" onClick="location='/admin.php'">取消</a></span> </div>
    <form action="<{$data[action]}>" method="post" id="form">
      <ul class="form_list">
        <li><span class="ti"><{$config[mail_protocol][title]}>：</span>
          <select name="fields[mail_protocol]">
            <option value="mail" <if condition="$config[mail_protocol][content] eq 'mail'">selected="selected"<else/></if>>MAIL</option>
            <option value="smtp" <if condition="$config[mail_protocol][content] eq 'smtp'">selected="selected"<else/></if>>SMTP</option>
          </select>
          <span class="ds"><{$config[mail_protocol][discript]}></span></li>
        <li><span class="ti"><{$config[mail_parameter][title]}>：</span>
          <input type="text" name="fields[mail_parameter]" value="<{$config[mail_parameter][content]}>" class="input" size="50" />
          <span class="ds"><{$config[mail_parameter][discript]}></span></li>
        <li><span class="ti"><{$config[smtp_host][title]}>：</span>
          <input type="text" name="fields[smtp_host]" value="<{$config[smtp_host][content]}>" class="input" size="50" />
          <span class="ds"><{$config[smtp_host][title]}></span></li>
        <li><span class="ti"><{$config[smtp_username][title]}>：</span>
          <input type="text" name="fields[smtp_username]" value="<{$config[smtp_username][content]}>" class="input" size="50" />
          <span class="ds"><{$config[smtp_username][discript]}></span></li>
        <li><span class="ti"><{$config[smtp_password][title]}>：</span>
          <input type="text" name="fields[smtp_password]" value="<{$config[smtp_password][content]}>" class="input" size="50" />
          <span class="ds"><{$config[smtp_password][discript]}></span></li>
        <li><span class="ti"><{$config[smtp_port][title]}>：</span>
          <input type="text" name="fields[smtp_port]" value="<{$config[smtp_port][content]}>" class="input" size="10" />
          <span class="ds"><{$config[smtp_port][discript]}></span></li>
        <li><span class="ti"><{$config[smtp_timeout][title]}>：</span>
          <input type="text" name="fields[smtp_timeout]" value="<{$config[smtp_timeout][content]}>" class="input" size="10" />
          <span class="ds"><{$config[smtp_timeout][discript]}></span></li>
        <li><span class="ti"><{$config[alert_mail][title]}>：</span>
          <input type="radio" name="fields[alert_mail]" value="true" class="input" <if condition="$config[alert_mail][content] eq 'true'">checked="checked"<else/></if> />
          <label>是</label>
          <input type="radio" name="fields[alert_mail]" value="false" class="input" <if condition="$config[alert_mail][content] eq 'false'">checked="checked"<else/></if> />
          <label>否</label>
          <span class="ds"><{$config[alert_mail][discript]}></span></li>
        <li><span class="ti"><{$config[account_mail][title]}>：</span>
          <input type="radio" name="fields[account_mail]" value="true" class="input" <if condition="$config[account_mail][content] eq 'true'">checked="checked"<else/></if> />
          <label>是</label>
          <input type="radio" name="fields[account_mail]" value="false" class="input" <if condition="$config[account_mail][content] eq 'false'">checked="checked"<else/></if> />
          <label>否</label>
          <span class="ds"><{$config[account_mail][discript]}></span></li>
        <li><span class="ti"><{$config[alert_emails][title]}>：</span>
          <textarea name="fields[alert_emails]" cols="80" rows="5" class="text"><{$config[alert_emails][content]}></textarea>
          <span class="ds"><{$config[alert_emails][discript]}></span></li>
      </ul>
    </form>
<include file="Common:footer" />